package opseration;

import book.Book1;
import book.BookList;

public class DispiayOpseration implements IOpersation{
    public void work(BookList bookList){
        System.out.println("打印图书！");
        int size = bookList.getUsedSize();
        for (int i = 0;i < size; i++){
            Book1 book1 = bookList.getPos(i);
            System.out.println(book1);
        }
    }
}
